package com.ecnu.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ecnu.common.core.domain.AjaxResult;
import com.ecnu.common.core.domain.model.LoginUser;
import com.ecnu.system.domain.ProjectStageMission;
import com.ecnu.system.domain.ProjectUserEvaluate;
import com.ecnu.system.domain.dto.EvaluateDTO;
import com.ecnu.system.domain.vo.EvaluateVO;
import com.ecnu.system.domain.vo.StageVO;
import com.fasterxml.jackson.core.JsonProcessingException;

import java.util.List;

public interface IProjectUserEvaluateService extends IService<ProjectUserEvaluate> {
    EvaluateVO getStageList(String projectId, String userId, List<StageVO> copy);

    AjaxResult addEvaluate(EvaluateDTO dto, LoginUser loginUser) throws JsonProcessingException;
}
